home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 021a / dftchc15.zip / SETUP.BAT < prev   
DOS Batch File  |  1990-10-09  |  3KB  |  65 lines

  1. echo off
  2. rem  ***  DRAFT CHOICE 1.5 Installation Procedure  ***
  3. if not %1a==a goto num
  4. cls
  5. echo  * DRAFT CHOICE Installation ERROR - No Disk Specified *
  6. echo  -------------------------------------------------------------------
  7. echo  The SETUP command must be followed by a drive letter, and if 
  8. echo  necessary by a directory name.  For example, to install the program
  9. echo  on a formatted floppy disk, place the original disk in Drive A, the 
  10. echo  blank disk in drive B, make sure drive A is the default drive 
  11. echo  and use the command:    
  12. echo                          SETUP b: 
  13. echo  -------------------------------------------------------------------
  14. echo  To install the program on drive C in a directory named DC15, place
  15. echo  the original disk in drive A, make sure drive A is the default drive 
  16. echo  and use the command:  
  17. echo                        SETUP C:\DC15 
  18. echo                                       (No trailing backslash)
  19. echo  --------------------------------------------------------------------
  20. echo  Decide which installation you want to use and try again.
  21. echo  --------------------------------------------------------------------
  22. goto finals
  23. :num
  24. if exist DRAFTC.EXE goto insprog1
  25. cls
  26. echo  * DRAFT CHOICE Installation Error  -  Program files not Found *
  27. echo  ------------------------------------------------------------------
  28. echo  The DRAFT CHOICE Files are not on the current logged drive. 
  29. ECHO  Place the diskette with the original DRAFT CHOICE files in the
  30. echo  default drive  re-start the setup procedure
  31. echo  -------------------------------------------------------------------
  32. :insprog1
  33. cls
  34. copy setup.bat  %1\setup.bat >nul
  35. if not exist %1\setup.bat goto isnotdir
  36. cls
  37. echo  DRAFT CHOICE Installation
  38. echo  
  39. echo  
  40. copy *.*  %1\*.* 
  41. echo   ***  Completed  ***
  42. echo  ----------------------------------------------------------------
  43. echo  (1) Log on to the just installed Disk/Directory.
  44. echo      Type DC15U and press ENTER to extract the following files:
  45. echo  
  46. echo          DRAFTC.HLP  -  Help File
  47. echo           HTREE.EXE  -  Help file Loader
  48. echo           ROMAN.FNT  -  Roman Font File
  49. echo  
  50. echo  (2) Log on to the just installed Disk/Directory.
  51. echo      Type DC-MAN and press ENTER to extract On-Disk Manual File.
  52. echo  ----------------------------------------------------------------
  53. goto finals                    
  54. :isnotdir
  55. cls
  56. echo  **  DRAFT CHOICE Installation **
  57. echo  ----------------------------------------------------------------
  58. echo  The specified sub-directory    %1    DOES NOT exist.
  59. echo  Please create it or use a different sub-directory.
  60. echo  (Remember!   No Trailing Backslash)
  61. echo  ----------------------------------------------------------------
  62. goto finals
  63. :finals
  64.  
  65.